package me.zhengjie.mapper;



import me.zhengjie.dao.ContainerDao;
import me.zhengjie.dao.ContainerNewDao;
import me.zhengjie.dao.ContainerParamDao;
import me.zhengjie.dao.TaskRecordDao;
import me.zhengjie.dao.dto.ContainerQueryCriteria;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;


@Mapper
public interface ContainerMapper extends BaseMapper<ContainerDao> {
    IPage<ContainerDao> findAll(@Param("criteria") ContainerQueryCriteria criteria, Page<Object> page);

    List<ContainerDao> findAll(@Param("criteria") ContainerQueryCriteria criteria);

    String selectPosition();

    String selectPositionByContainer(String containerCode);

    String selectPositionForBalan(String floor);

    int updateLocal(String location);

    String selectPositionForSort();

    int updateLocalForSort(String locationG1);

    int insertToTaskCode(TaskRecordDao dao);

    String selectRecordByContainer(String store);

    int updateStore(String store);

    List<ContainerDao> selectListOfPage( ContainerParamDao baseVo);
}
